Welcome to Brighton in three hours.
Hello, everyone, this is lecture to Gmail, Chrome and Google Callup.
By the end of this lecture, you will be able to install Chrome, created Gmail and create a Google
Clapperton three notebook.
Well, Gmail and Google Chrome is pretty much popular across the world.
So this part of the lecture are for those people that might not be familiar with these two free, amazing
tools in order to install and set up Google Chrome on your operating system, whether it is a Windows,
Mac or Linux, Ubuntu and Mint, you can click on these YouTube links here and then watch how to install
Google Chrome, the famous Google Web browser on your computer.
Also here, I provided for you how to create a Gmail and use it to sign into your Google Chrome browser.
Gmail is a free email provided by Google.
And by creating one, you are getting a few gigabytes of cloud drive to store your files on the cloud
and also using amazing Google computers to do cloud computing.
And those computers are equipped with CPU, GPU and also TPO systems that are unique for Google systems
as of December of 2010.
So in order to create a Gmail, watch this YouTube video and to get to know how you can sign into your
Google Chrome using your Gmail, just watch this other video and then hopefully you are all set up by
this and ready to create your first Google cloud notebook.
So I already have a Google Chrome here.
And also I send it to my account.
Once you have done that, all you have to do is to go to call app that research at Google dot com.
So let me copy this and then go to a new tab.
It here and here is the first link.
So this is the first thing or first page that you see once you enter into that call app that Google
dot com here you have access to your previous Google Kulab notebooks that you might have already created.
But if this is your first time, then you probably don't see anything other than this.
Welcome to Collaboratory.
So to create an unitholder, you can click on your notebook here.
And in order to upload the notebooks that we provided you on this course, we can always click on the
upload here and then go to choose a file or drop a notebook here.
So if you go to choose a file, we can simply select the Python notebook of your interest and then click
on Open and it will open it for you here.
But I skip this.
You can try it by yourself for the time being.
I just want to create a new notebook, so I collect new notebook.
So now I have a new notebook here.
I can change the name of it to whatever I want.
For example, my first Python CoLab notebook, whatever name you want, but the extensions should always
be API and B, and then here you have Excel to write your code.
Before we go through programming here, I want to show you what we have here in the wrong place at the
wrong time.
We can always select a long time that you want to run your code on, and runtime is basically a computer
that you are connected to on the Google.
So this is not what you see here is on that computer.
And whatever you are typing there are being actually run on that cloud computer that this notebook has
been connected to.
So if I change the runtime, I can actually select different hardware stuff here.
For example, the accelerator or the processing unit, Narnia's CPU, you can select the GPU, you can
select the Tupi.
So if you go for GPU, then you can also select a high ram or use the standalone for free.
You have access to this Google crap GPU and CPU nodes for free, but you can always upgrade it and for
a fee of as small as like ten dollars, eleven dollars per month as of December of 2020, you can get
access to more number of CPU and G.P.A. at the same time and also nodes with a higher amount of ram.
So for the time being I go with non as just CPU systems and I use a standard for the memory.
So I save it for the time being.
And when I click on the contact, I'm getting connecting to one note.
So now I am connected to one node and if I click here I can see the.
Highton Not notebooks that I have already on the run, so you can always terminate the ones that you
are not actually using, I can tell me this one, terminate this one minute that one.
And here is the current notebook.
You can also just move your cursor on this part of the call.
Abderrahmane, this to see how much of your allocated ram you have use and how much of your allocated
disk you have use.
And this disk is different than Google Drive.
This is just something for that particular computer that you are connected to.
So here, if you click here, you can always upload files here.
For example, you can click here and you can upload different files from your directory here.
And I can upload some CSP files.
I can upload data, I can upload whatever files that I want here into this environment.
But once my codes are on and I close this tab or I terminate this notebook, then those files are going
to be removed.
Note that the Google Kulab computers are not going to run for you forever.
They have limitations and depending on the loads that they are facing at a time, they might terminate
your runs without a notice.
So you usually are able to get hours of runs without any interruptions.
But just keep that in mind that to write your code in a way that if the runtime stops, you can always
start over.
And these are the important points.
The other thing here is that you can always factor reset your runtime, which means that you remove
everything that you have here as your files and also you connect to another note.
So that's the final reason.
Or you can restart and run all the codes you have in this notebook.
You can also interrupt execution of codes that are going forever at any time so you can always investigate
these other tabs.
But here in the tools, we have keyboard shortcuts and you can always use shortcuts to do faster coding
in your notebook.
But one of the things that I have already changed is cycle from view, which I change it for whatever
it was originally to control, plus one on Windows system.
And if you are on a Mac system, you can change it to command plus one.
This is for basically showing and hiding different cells of codes for you guys.
So leave it as is.
And here you have a cell to write your code.
You can actually write different scripts here.
Can come into it like use hash tag and type some comments.
Or you can type some calls for yourself here.
So like yellow and then you click here and then run that for yourself so you can have followups here
if statements, everything that we can actually see in the next lecture's.
I'm not going to go deep into programming in this lecture, just an introduction to Google collaboratory.
The other thing that I usually use is actually the text capability here.
So if you just go to the middle of top of each cell here or the bottom of each cell, you're going to
see that these two buttons are popping up.
One of them is code, which is similar to this cell of code and the other one is text.
So I can add a new cell of code here and write my code here and run it independently.
And it also uses whatever variables that you already saved in your work is based on the previous cells,
but you can run it totally separately from the previous one.
So it's like an independent cell, of course, to be run.
The other thing I use frequently is this text.
So if I click on takes, it's just a cell of takes.
You don't do coding here is just to manage your code and comment your code and perhaps have headers
and stop headers for a code, which I use it extensively in my column, not works, and it helps me
a lot to organize my notebooks.
So for example, here I can say, for example, one one, let's start having Python fun and then here
I can see a preview of what I typed and I can change the size of it.
I can make it bold, I can make it italic.
And you can always check other tabs here to see what are other interesting thing you can do.
It can also add image, put links here and you are going to see many of these text in my Python notebooks
through this.
So don't worry about it.
You will practice this over and over.
So this was a short introduction to Google Collaboratory.
We're going to come back to our main notebook that we started this lecture.
So here we go.
As you see, I have these different notes and all of them are popping up in a table of content here.
You can click on each of them and it jumps up and down to get access to different takes.
And then here I can go here, type open some.
Hotels and start typing my cots here, for example, opening hello well, and then this is just a cell
that is being run completely independent from the rest of the not so I did.
It is.
And here are the information I put here and some links and some bullets here to have some organized
way of showing you these different comments and tapes and headers and information that I want to relay
through this course.
So this was just an introduction to Google caught up in this lecture.
You learn about Chrome and Gmail and initiating Google CollabNet books and remote Google computers.
In the next lecture, we will learn about operations, building functions and data types.
Thank you for your attention.
See you all in the next lecture.